<extend name="Index/index"/>
<block name="main">
		<title>个人资料</title>

		<link href="__PUBLIC__/static/css/personal.css" rel="stylesheet" type="text/css">
		<link href="__PUBLIC__/static/css/infstyle.css" rel="stylesheet" type="text/css">
		<script src="__PUBLIC__/static/AmazeUI-2.4.2/assets/js/jquery.min.js" type="text/javascript"></script>
		<script src="__PUBLIC__/static/AmazeUI-2.4.2/assets/js/amazeui.js" type="text/javascript"></script>
			
	</head>

	<body>
		<!--头 -->
		<include file="Public/top" />
            <include file="Public/daohang" />
			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">个人资料</strong> / <small>Personal&nbsp;icon</small></div>
						</div>
						<hr/>

						<!--头像 -->
					<form class="am-form am-form-horizontal" action="<{:U('Account/doicon')}>" method="post" enctype="multipart/form-data">
						<div class="user-infoPic">

							<!-- <div class="filePic"> -->
								<input type="file" name="icon" allowexts="gif,jpeg,jpg,png,bmp" >
								<if condition="$iconname eq ''">
								
									<img class="am-circle am-img-thumbnail" src="__UPLOAD__/thumb/1.jpg"  width="100px" height="100px" alt="" />
								<elseif condition="$iconname neq ''"/>
									<img class="am-circle am-img-thumbnail" src="__UPLOAD__/thumb/100_<{$iconname}>"  width="100px" height="100px" alt="" />
								
								</if>
								<!-- <img class="am-circle am-img-thumbnail" src="__UPLOAD__/thumb/100_<{$iconname}>"  width="100px" height="100px" alt="" /> -->
							<!-- </div> -->

							<p class="am-form-help">头像</p>


							<div class="info-m">
								<div><b>用户名：<i><{$nickname}></i></b></div>
								<div class="u-level">
									<span class="rank r2">
							             <s class="vip1"></s><a class="classes" href="#">铜牌会员</a>
						            </span>
								</div>
							</div>
						</div>

						<!--个人信息 -->
						<div class="info-main">



								<div class="info-btn">
									<div class="am-btn am-btn-danger">
									<input class="am-btn am-btn-danger" type="submit" value="上传头像">
									</div>
								</div>

						</div>
					</form>

					</div>

				</div>
			</div>

			<include file="Public/menu" />
		</div>
</block>
